export function validatorColorDocument(document: string) {
  //   (25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)
  //   (25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)
  const validators = [() => /color=\s*$/.test(document), () => /ccdd=\s*$/.test(document)];
  return validators.some((validator) => validator());
}

export function validatorColorDecorations(document: string) {
//   const validators = [
//     () => /^#([0-9A-Fa-f]{3,4}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$/.test(color),
//     () => /^rgb\([\d.,% ]+\)$/.test(color),
//     () => /^rgba\([\d.,% ]+\)$/.test(color),
//   ];
}
